package com.chenjiagou.ordertickets.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * (FlightSeat)实体类
 *
 * @author makejava
 * @since 2025-06-25 16:39:47
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class FlightSeat implements Serializable {
    private static final long serialVersionUID = -81579655272189622L;
/**
     * 座位ID
     */
    private Long id;
/**
     * 航班ID
     */
    private Long flightId;
/**
     * 座位号
     */
    private String seatNo;
/**
     * 舱位ID
     */
    private Long seatClassId;
/**
     * 座位状态（0:可售,1:锁定,2:已售）
     */
    private Integer status;
/**
     * 乐观锁版本号
     */
    private Integer version;

}

